package com.qf.jie.entity.po;

public class Cart {
    private Integer id;
    private Integer user_id;
    private Integer commodity_id;

    public Cart(){}
    public Cart(Integer id, Integer user_id, Integer commodity_id) {
        this.id = id;
        this.user_id = user_id;
        this.commodity_id = commodity_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(Integer commodity_id) {
        this.commodity_id = commodity_id;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", commodity_id=" + commodity_id +
                '}';
    }
}
